using Common;
using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AnesSystem.Models
{
    public class PatientEventsModel : BaseModel<PatientEventsModel>
    {
        private ObjectId _id;
        private string patientID;
        private string code;
        private string name;
        private DateTime beginTime;
        private DateTime endTime;
        private bool deleted;
        private DateTime inputTime;

        
        public string PatientID
        {
            get
            {
                return patientID;
            }

            set
            {
                patientID = value;
                RaisePropertyChanged("PatientID");
            }
        }
        public string Code
        {
            get
            {
                return code;
            }

            set
            {
                code = value;
                RaisePropertyChanged("Code");
            }
        }
        public string Name
        {
            get
            {
                return name;
            }

            set
            {
                name = value;
                RaisePropertyChanged("Name");
            }
        }
        public DateTime BeginTime
        {
            get
            {
                return beginTime;
            }

            set
            {
                beginTime = value;
                RaisePropertyChanged("BeginTime");
            }
        }
        public DateTime EndTime
        {
            get
            {
                return endTime;
            }

            set
            {
                endTime = value;
                RaisePropertyChanged("EndTime");
            }
        }
        public bool Deleted
        {
            get
            {
                return deleted;
            }

            set
            {
                deleted = value;
                RaisePropertyChanged("Deleted");
            }
        }
        public DateTime InputTime
        {
            get
            {
                return inputTime;
            }

            set
            {
                inputTime = value;
                RaisePropertyChanged("InputTime");
            }
        }

        public ObjectId Id
        {
            get
            {
                return _id;
            }

            set
            {
                _id = value;
                RaisePropertyChanged("Id");
            }
        }
    }
}